package counter;
public class SyncCounter {

	private long counter;

	public void reset() {
		counter = 0;
	}

	public synchronized void increment() {
		counter++;
	}

	public long getCounter() {
		return counter;
	}

}
